from .base import *

__all__ = ['UserItem']


# 用户信息
class UserItem(BaseItem):
    item_type = 'user'
    uid = scrapy.Field()
    name = scrapy.Field()
    headImg = scrapy.Field()
    gender = scrapy.Field()
    birthday = scrapy.Field()
    industry = scrapy.Field()
    headline = scrapy.Field()
    description = scrapy.Field()
    profileUrl = scrapy.Field()
    workInfo = scrapy.Field()
    contactInfo = scrapy.Field()
    educationInfo = scrapy.Field()
    country = scrapy.Field()
    province = scrapy.Field()
    city = scrapy.Field()
    area = scrapy.Field()
    registerTime = scrapy.Field()
    followsNum = scrapy.Field()
    fansNum = scrapy.Field()
    articleNum = scrapy.Field()
    verifyType = scrapy.Field()
    verifyInfo = scrapy.Field()
    askNum = scrapy.Field()
    answerNum = scrapy.Field()
    agreedNum = scrapy.Field()
    thankedNum = scrapy.Field()
    level = scrapy.Field()
    tags = scrapy.Field()

    def __init__(self):
        super().__init__()
        self['type'] = 'user'
